libsigar: Add missing header
authorRosen Penev <[email protected]>
Fri, 2 Aug 2019 23:45:45 +0000 (16:45 -0700)
committerRosen Penev <[email protected]>
Fri, 2 Aug 2019 23:57:23 +0000 (16:57 -0700)
The new version of musl does not include this header internally anymore.

Signed-off-by: Rosen Penev <[email protected]>
libs/libsigar/Makefile
libs/libsigar/patches/020-sysmacros.patch [new file with mode: 0644]

index 3c3d0be285f8c56007a54785c0100548caa38874..39f22138e8cedece76a6c732dc69ff4eb0fd6790 100644 (file)
@@ -3,7 +3,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=libsigar
 PKG_SOURCE_DATE:=2017-02-21
 PKG_SOURCE_VERSION:=a6c61edf8c64e013411e8c9d753165cd03102c6e
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/boundary/sigar
diff --git a/libs/libsigar/patches/020-sysmacros.patch b/libs/libsigar/patches/020-sysmacros.patch
new file mode 100644 (file)
index 0000000..334a908
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/src/os/linux/linux_sigar.c
++++ b/src/os/linux/linux_sigar.c
+@@ -23,6 +23,7 @@
+ #include <linux/param.h>
+ #include <sys/param.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ #include <sys/times.h>
+ #include <sys/utsname.h>
+ #include <mntent.h>